<template>
  <view class="container">
    <view class="middle-center">
      <view class="image-box">
        <image :src="erwcode"></image>
      </view>
      <view class="tip">
        <view class="first">意见反馈或者寻求帮助请</view>
        <view class="second">添加客服</view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  name: "customer",
  data(){
    return {
      erwcode: '',
    }
  },
  created(){
    this.initData()
  },
  methods:{
    initData(){

      this.$Request.request('/api/users/aboutus', 'GET').then(response=>{
        console.log(response)
        const {data:{  data:{
          serviceWeixinQrcode
        }}} = response;

        this.erwcode= serviceWeixinQrcode;

      })
    }
  }
}
</script>

<style lang="scss" scoped>
.container{
  .middle-center{
    width: 500rpx;
    margin: 0 auto;
    text-align: center;

    .image-box{
      width: 380rpx;
      height: 380rpx;
      margin: 0 auto;
      padding-top: 300rpx;
      box-sizing: content-box;
      image{
        box-shadow: 0rpx 4rpx 42rpx 0rpx #ee5b25;

        width: 100%;
        height: 100%;
      }
    }
    .tip{
      margin-top: 30rpx;
      text-align: center;
    }
  }
}
</style>
